package www.xudan.android_ffmpeg.videoplayer.render.listener;

import android.graphics.SurfaceTexture;

/**
 * Surface 状态变化回调
 * Created by guoshuyu on 2018/1/29.
 */

public interface ISurfaceListener {
    void onSurfaceAvailable(SurfaceTexture surface, int width, int height);

    void onSurfaceSizeChanged(SurfaceTexture surface, int width, int height);

    boolean onSurfaceDestroyed(SurfaceTexture surface);

    void onSurfaceUpdated(SurfaceTexture surface);
}
